package com.hfjy.bigdata.bean;


import lombok.*;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Email;
import java.util.List;
import java.util.Map;

//@Getter
//@Setter
//@Data
//@NoArgsConstructor
//@ToString
//@Component
//@ConfigurationProperties(prefix = "person")
//@Validated
//public class Person {
//    @Value("${person.email}")
//    private String name;
//    private int age;
//    private List<Object> lists;
//    private Map<String,String> maps;
//    private Dog dog;
//    @Email
//    private String email;
//}
